package com.itgo.codegen.bean;

import com.itgo.codegen.config.Config;

public class MapperTemplateBean extends TemplateBean{

	private String className ;
	private String entityPackage ;
	private String baseColumn ; //
	private String tableName ;
	private String alias ;
	private String insertFields ; //
	private String insertValues ; //
	private String updateSets ;   //
	
	public MapperTemplateBean(
			String baseColumn , String insertFields , String insertValues , String updateSets ){
		this.className = Config.entityName ;
		this.entityPackage = Config.entityPackage ;
		this.tableName = Config.tableName ;
		this.alias = Config.tableAliasName ;
		this.baseColumn = baseColumn ;
		this.insertFields = insertFields ;
		this.insertValues = insertValues ;
		this.updateSets = updateSets ;
	}

	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	public String getEntityPackage() {
		return entityPackage;
	}

	public void setEntityPackage(String entityPackage) {
		this.entityPackage = entityPackage;
	}

	public String getBaseColumn() {
		return baseColumn;
	}

	public void setBaseColumn(String baseColumn) {
		this.baseColumn = baseColumn;
	}

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public String getAlias() {
		return alias;
	}

	public void setAlias(String alias) {
		this.alias = alias;
	}

	public String getInsertFields() {
		return insertFields;
	}

	public void setInsertFields(String insertFields) {
		this.insertFields = insertFields;
	}

	public String getInsertValues() {
		return insertValues;
	}

	public void setInsertValues(String insertValues) {
		this.insertValues = insertValues;
	}

	public String getUpdateSets() {
		return updateSets;
	}

	public void setUpdateSets(String updateSets) {
		this.updateSets = updateSets;
	}
	
}
